package com.xm.controller;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Description TODO
 * @Author lililiang
 * @Date 21/04/29 10:14
 * @Version 1.0
 **/
@Api(tags = "测试模块")
@RestController
@Slf4j
@RequestMapping("test")
@RefreshScope
public class TestController {
    @ApiOperation(value = "打印信息")
    @GetMapping(value = "get")
    public String getPay() {
        return "this is a test-get";
    }


}
